package com.cloud.schedule.api.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.cloud.schedule.api.job.ScheduleJob;

@Service
public class LoggerService {

	private static final Logger logger = LoggerFactory.getLogger(LoggerService.class);

	public long logger(ScheduleJob scheduleJob) {
		if (logger.isDebugEnabled())
			logger.debug(">>>>> jobName = [" + scheduleJob.getJobId() + "]" + " excuted.");
		// Save execute log to database and return log id
		
		return 0;
	}
}
